package com.dhj.service;

import com.dhj.baseBean.ResponseResult;
import com.dhj.entity.User;

/**
 * @author DaHuaJia
 * @Description 用户管理service层
 * @Date 2022-03-20 15:12:23
 */
public interface LoginService {

    /**
     * 登录接口
     *
     * @param user
     * @return
     */
    ResponseResult login(User user);

    /**
     * 退出登录
     *
     * @return
     */
    ResponseResult logout();

}
